import React from 'react';
import {HeaderDropdown, ButtonComp} from 'jh-lib'
import { Menu } from "antd";

export default class Base extends React.Component {
    state = {

    };
    render() {
        const menu = (
            <Menu selectedKeys={[]} >
                <Menu.Item key="stat">
                    {/*<LegacyIcon type="dashboard" /><span>系统监控</span>*/}
                </Menu.Item>
                <Menu.Divider/>
                <Menu.Item key="logout">
                    {/*            <LegacyIcon type="logout"/><span>*/}
                    {/* 退出登录*/}
                    {/*</span>*/}
                </Menu.Item>
            </Menu>
        );
        return (<>
            <HeaderDropdown overlay={menu}>
                <ButtonComp>
                    测试
                </ButtonComp>
            </HeaderDropdown>
        </>)
    }
}